package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 监护仪绑定记录表
 * </p>
 *
 * @author zqb
 * @date 2024-08-23 15:46:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "监护仪绑定记录")
public class BBindInfoSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @NotEmpty(message = "请填写病人识别号")
    @Size(max = 50, message = "病人识别号长度不能超过{max}")
    private String patientIdent;
    /**
     * 设备识别号
     */
    @Schema(description = "设备识别号")
    @NotEmpty(message = "请填写设备识别号")
    @Size(max = 50, message = "设备识别号长度不能超过{max}")
    private String devId;
    /**
     * 病人科室id
     */
    @Schema(description = "病人科室id")
    @NotEmpty(message = "请填写病人科室id")
    @Size(max = 50, message = "病人科室id长度不能超过{max}")
    private String deptId;
    /**
     * 床位识别号
     */
    @Schema(description = "床位识别号")
    @Size(max = 20, message = "床位识别号长度不能超过{max}")
    private String bedNumber;
    /**
     * 绑定时间
     */
    @Schema(description = "绑定时间")
    @NotNull(message = "请填写绑定时间")
    private Long bindTime;
    /**
     * 解绑时间
     */
    @Schema(description = "解绑时间")
    private Long unbindTime;
    /**
     * 是否绑定
     */
    @Schema(description = "是否绑定")
    @NotNull(message = "请填写是否绑定")
    private Boolean isBind;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @NotNull(message = "请填写创建时间")
    private LocalDateTime gmtCreate;
    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    @NotNull(message = "请填写更新时间")
    private LocalDateTime gmtModified;



}
